function gets(pageNum) {
    var m=$("#dinumber").val();
    var l=$("#cname").val();
    var k=$("#jixing").val();
    var j=$("#guige").val();
    var i=$("#danwei").val();
    var h=$("#cc").val();
    var g=$("#qiye").val();
    var f=$("#shangpin").val();
    var e=$("#lefPprice").val();
    var d=$("#rightPrice").val();
    var c=$("#cengci").val();
    var b=$("#dcid").val();
    var a=$("#state").val();
    var pageN = pageNum;
    var v = window.location.href;
    var v1 = v.substring(v.lastIndexOf("?") + 1, v.length);
    $.ajax({
            url: '/myspringboot/SalesReturn/selectuohuodan',
            type: 'post',
            dataType: "json",
            data:{
                dinumber:m,
                cname:l,
                jixing:k,
                guige:j,
                danwei:i,
                cc:h,
                qiye:g,
                shangpin:f,
                lefPprice:e,
                rightPrice:d,
                cengci:c,
                leibie:b,
                state:a,
                pageNum:pageN,
                id:v1,
            },

            success:function(result){
                var result = result.data;
                yibu(result.pages,result.pageNum);
                var list = result.list;
                $(".a").empty();
                for (var i = 0; i < list.length; i++){
                    //序号
                    var diId = list[i].diId;
                    var dirgRg = list[i].dirgRg;
                    if (dirgRg!=null){
                        var dirgNumber = dirgRg.dirgNumber;
                        var dirgYuanyin = dirgRg.dirgYuanyin;
                    }
                    //药品流水号
                    var daNumber = list[i].diNumer;
                    //通用名
                    var diName = list[i].diName;
                    //商品名称
                    var drugAtegory = list[i].drugAtegory;
                    if (drugAtegory!=null){
                        var daName = drugAtegory.daName;
                    } else {
                        daName ="null";
                    }
                    //剂型
                    var diForm = list[i].diForm;
                    //规格
                    var diSpecifications = list[i].diSpecifications;
                    //单位
                    var diUnit = list[i].diUnit;
                    //装换系数
                    var diCc = list[i].diCc;
                    //中间jia
                    var diNewPrice = list[i].diNewPrice;
                    //交易价
                    var jiaoyijia = list[i].diNewPrice;

                    var dididi = "<input type='checkbox' class='tuihuoId'  name='chec' value='"+list[i].diId +"' class='itemSelect'>";

                    var daSupplier =list[i].drugQualityLevel.dqlName;

                    var $tr = '<tr>'+
                        '<td>'+'<input id="vv" type="hidden" value="'+diId+'">'+diId+'</td>'+
                        '<td>'+dididi+'</td>'+
                        '<td>'+daNumber+'</td>'+
                        '<td>'+diName+'</td>'+
                        '<td>'+daName+'</td>'+
                        '<td>'+diForm+'</td>'+
                        '<td>'+diSpecifications+'</td>'+
                        '<td>'+diUnit+'</td>'+
                        '<td>'+diCc+'</td>'+
                        '<td>'+diNewPrice+'</td>'+
                        '<td>'+jiaoyijia+'</td>'+
                        '<td>'+'<input id="vvv" class="tuihuoliang" type="text" value="'+dirgNumber+'">'+'</td>'+
                        '<td>'+'<input id="vvvv" class="tuihuoyuanyin" type="text" value="'+dirgYuanyin+'">'+'</td>'+
                        '</tr>'
                    $(".a").append($tr);
                }


            }
        }
    )
}